﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Young3.FMSearch.Core.Offsets
{
    public sealed class PlayerOffsets
    {
        public const short InjuryFromAddress = 4;
        public const short BanFromAddress = 12;
        public const short PreferedMoves = 0xa8;
        public const short SkillsAddress = 0xb0;
        public const short InjuryAddress = 0xb8;
        public const short Value = 0xe0;
        public const short AskValue = 0xe4;
        public const short Condition = 0x108;
        public const short Fitness = 0x10a;
        public const short Jadeness = 0x10c;
        public const short HomeReputation = 270;
        public const short CurrentReputation = 0x110;
        public const short WorldReputation = 0x112;
        public const short Ca = 0x114;
        public const short Pa = 0x116;
        public const short Weight = 280;
        public const short Height = 0x11a;
        public const short Morale = 0x120;
        public const short DeclaredForNation = 270;
        public const short AddressUsedInGame = 300;
        public const short Id = 320;
        public const short ContractId = 0x144;
        public const short RecentPlan = 0x148;
        public const short DateOfBirth = 0x164;
        public const short FirstName = 0x180;
        public const short LastName = 0x184;
        public const short Nickname = 0x188;
        public const short CityOfBirth = 400;
        public const short Nationality = 0x194;
        public const short PersonalityAddress = 0x198;
        public const short RelationsAddress = 0x19c;
        public const short PlayerNumber = 0x180;
        public const short Ethnicity = 0x1a0;
        public const short HairColour = 0x1a1;
        public const short SkinColour = 0x1a2;
        public const short FutureContractAddress = 0x1b4;
        public const short ContractAddress = 0x1c4;
        public const short Clausules = 0x1c4;
        public const short DateJoinedCountry = 0x1e4;
        public const short DateJoinedClub = 0x1ec;
        public const short TeamAddress = 0x218;
        public const short InternationalCaps = 0x22c;
        public const short U21InternationalCaps = 0x22d;
        public const short InternationalGoals = 0x22e;
        public const short U21InternationalGoals = 0x22f;
        public const short PlayerLength = 580;
        public const long ContractStartsBy = 0x12910b8;
        public const long LoanContractStartsBy = 0x15394f8;

        public const short ContractAddressSecond = ContractAddress + 0x8;
        public const short ContractNumber = ContractAddress + 0x4;
    }
}
